<script>
	export default {
		onLaunch: function() {
			uni.addInterceptor('switchTab', { //监听tabBar跳转
				success(e) {
					//加载页面时进行下拉刷新
					uni.startPullDownRefresh();
				}
			});
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import "colorui/main.css";
	@import "colorui/icon.css";
</style>